def ask(name="函数"):
    print(name)

class Person:
    def __init__(self):
        print("类")


my_func = ask
my_func()

my_class = Person
my_class()

obj_list = []
obj_list.append(ask)
obj_list.append(Person)

for item in obj_list:
    print(item())